Re: creating a view from multiple tables (13 tables) - Mailing list pgsql-novice

From M. Bastin
Subject Re: creating a view from multiple tables (13 tables)
Date
Msg-id a06110404bd7a4994966d@[192.168.0.243]
Whole thread Raw
In response to creating a view from multiple tables (13 tables)  (Kumar S <ps_postgres@yahoo.com>)
List pgsql-novice
>psql:/home/../temp/postgres/marray2/view.sql:58:
>ERROR:  column reference "fc_probe_set_id" is ambiguous

You have to use the "table.column" notation.  E.g.
"table12.fc_probe_set_id" instead of just "fc_probe_set_id"

Cheers,

Marc

>In my case every table (13 numbers) has 20 columns and
>column names are identical.
>In the select statement it is difficult to specify
>every table name . column name and do this for 20
>times for every chip.

You obviously have to; since all column names are identical how could
you hope PostgreSQL to be sure which table you mean?

pgsql-novice by date:

Previous
From: "V i s h a l Kashyap @ [Sai Hertz And Control Systems]"
Date:
Subject: List of PL languages in PostgreSQL
Next
From: "Garris, Nicole"
Date:
Subject: Re: creating a view from multiple tables (13 tables)